<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
  <div class="container"> 
    <div class="navbar-header">
      <a class="navbar-brand" href="/">UMeWork</a>
    </div>
    <div class="navbar-collapse collapse">
        
        {% if username %}
        <div class="navbar-right">
            <a class="navbar-brand"> 欢迎你：{{username}}</a>
            <a class="btn btn-warning btn-sm login_logout " href="/logout.html">退出</a>  
        </div>
        {% endif %}
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
              <li><a href="/config.html">全局配置</a></li>
              <li class="active"><a href="/host.html">信息中心</a></li>
              <li><a href="/taskinfo.html">任务系统</a></li>
              <li><a href="/cmd.html">命令执行</a></li>
              <li><a href="/install.html">系统管理</a></li>
              <li><a href="/userinfo.html">帐户管理</a></li>
              <li><a href="http://bbs.linuxyw.com"  target="_blank">学习交流</a></li>
            </ul>
        </div>
        
    </div>
  </div>

</div>
<div class="head_div1">
   <ul class="list-inline">
       <li><a onclick="javascript:Popbox('添加主机',350,550,'/hostadd.html');">添加主机</a></li>
       <li><a onclick="javascript:Popbox('批量添加主机',550,420,'/hostadds.html');">批量添加主机</a></li>
       <li><a onclick="javascript:Popbox('添加分组',400,250,'/groupadd.html');">添加分组</a></li>
   </ul>
</div>

